<?php


namespace App\Request\Business\User;

use App\Request\RequestAbstract;

/**
 * 获取用户提现记录
 *
 *  @author eug(1196070838@qq.com)
 * Class GetCashInfoRequest
 * @package App\Request\Business\User
 */
class CashWithdrawalRequest  extends RequestAbstract
{
    /**
     * Determine if the user is authorized to make this request.
     */
    public function authorize(): bool
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     */
    public function rules(): array
    {
        return [
            'bank_id' => 'required',
            'amount' => 'required',
        ];
    }
}